<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ page isELIgnored="false"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
	<h4>받은편지함</h4>
	<table border=1 width=75% align=center>
		<tr>
			<td>
				<form name=frm method=post action=write_ok.do>
					<table border=1 width=100% align=center cellpadding=2 cellspacing=2>
						<tr>
							<td align=center>보낸사람</td>
							<td><input type=text size=60 name=name
								value="${requestScope.mail.sender}">
							</td>
						</tr>
						<tr>
							<td align=center>제목</td>
							<td><input type=text size=60 name=title
								value="${requestScope.mail.subject}">
							</td>
						</tr>
						<tr>
							<td align=center>받은날자</td>
							<td><input type=text size=60 name=title
								value="${requestScope.mail.receivedDate}">
							</td>
						</tr>

						<tr>
							<td align=center>내용</td>
							<td><textarea name=content cols=60 rows=20>${requestScope.mail.content}</textarea>
							</td>
						</tr>

						<tr align=center>
							<td colspan=2><input type=submit value=삭제>
							</td>
						</tr>
					</table>
				</form></td>

		</tr>
	</table>


</body>
</html>
